<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
  font-family: DroidSansSubset;
  src: url(../../third_party/DroidSans/DroidSans.ttf.subset-U002E-U0041-42.ttf) format("truetype");
}

#div {
    font-family: DroidSansSubset;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 2em;
    overflow: hidden;
    border: 1px solid #000000;
    font-size:24px;
}

#firstLine {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 1px solid #000000;
    width: 10em;
    font-size:24px;
}

#firstLine:first-line {
    font-family: DroidSansSubset;
	font-size: 16px;
}

</style>
</head>
<body>

<div id="div">ABAB</div><br>
<div id="firstLine">ABABABABABABABABABABAB ABABABABABABAB ABABABABABABABABABAB ABABABABABABABABABABABABABABABAB ABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABABABABAB ABABABABABABABABABABABABABABAB</div>


</body>
</html>
